package com.bifang.module.file.common.vo;

import com.bifang.assistant.common.vo.BasePageVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class FileClassVO extends BasePageVO {

    @Schema(description = "文件分类编号")
    private String fileClassCode;

    @Schema(description = "分类标题")
    private String classTitle;

    @Schema(description = "父类编号")
    private String parentCode;

    @Schema(description = "父级分类")
    private String parentClassTitle;

    @Schema(description = "文件环境主键")
    private Long fileEnvId;

    @Schema(description = "文件环境名称")
    private String fileEnvName;

    @Schema(description = "有效状态 0 无效 1有效")
    private String status;

    @Schema(description = "对应档案分类编号")
    private String archivesClassCode;

    @Schema(description = "是否需要归档 0 不需要 1需要")
    private String fielderShow;

    @Schema(description = "组织id")
    private String orgId;

    @Schema(description = "组织名称")
    private String orgName;

    @Schema(description = "文件存放路径")
    private String fileClassPath;

    @Schema(description = "是否加密，0 否 1 是")
    private String encryptionFlag;

    @Schema(description = "文件大小限制")
    private Long maxSize;

    @Schema(description = "文件类型限制")
    private String fileType;

    @Schema(description = "默认访问过期时间，单位秒")
    private Long expireTime;

    @Schema(description = "预留字段1")
    private String classParam1;

    @Schema(description = "预留字段2")
    private String classParam2;
    @Schema(name = "tableName",description = "保存的表名,file_info_之后的字母")
    private String tableName;
    @Schema(description = "备注")
    private String remarks;

    /** 环境名称 */
    private String envName;

    /** 文件服务器类型 ftp sftp socket fastfds local http */
    private String fileServiceType;

    /** 文件服务ip */
    private String fileServiceIp;

    /** 端口 */
    private Integer fileServicePort;

    /** 用户 */
    private String fileServiceUser;

    /** 密码 */
    private String fileServicePwd;

    /** 存储服务器组（FastDFS） */
    private String storageGroup;

    /** 文件存放基础路径 */
    private String fileBasePath;

    /** 静态文件服务访问端口 */
    private Integer webPort;

    /** 静态文件访问基础路径 */
    private String webBasePath;

    @Schema(description = "保密级别")
    private String secrecyLevel;
    @Schema(name = "checkScope", description = "是否校验权限 0 不校验 1 校验")
    private String checkScope;

    @Schema(name = "signFlag", description = "调用接口是否需要签名 0 否 1是")
    private String signFlag;

    @Schema(name = "appHasScope", description = "app是否有权限")
    private Boolean appHasScope;

}
